/*
 * @Author: zhengzhuang
 * @Date: 2020-05-16 15:30:17
 * @LastEditors: zhengzhuang
 * @LastEditTime: 2020-11-19 15:37:48
 * @Description: In User Settings Edit
 * @FilePath: /C20Driver/lib/event/event_bus.dart
 */
import 'package:amap_map_fluttify/amap_map_fluttify.dart';
import 'package:event_bus/event_bus.dart';
// eventBus.fire(new MonitorOrderProgress('1'));
// 监听Bus触发事件
// var _themeModelscription;
// _themeModelscription = eventBus.on<MonitorOrderProgress>().listen((event) {
//   _goBackGetIsThereAnOrder();
// });
// _themeModelscription.cancel();

//Bus初始化
EventBus eventBus = EventBus();

/// 司机认证状态变化
class DriverCertification {
  bool state;
  DriverCertification(bool state) {
    this.state = state;
  }
}

/// 首页获取进行中顺风车订单
class OrderWindmillTravel {}

/// 刷新司机顺风车订单列表
class RefreshCarpoolPassengers {
  int state;
  RefreshCarpoolPassengers(int state) {
    this.state = state;
  }
}

/// 司机顺风车首页去除起始点
class CancelCarpoolOrderMark {}

/// 首页获乘客详情
class OrderPassagerDetail {}

/// 首页通知类未发车
class MyEvent {
  String text;
  MyEvent(this.text);
}

/// 设置首页地图显示到当前选择位置
class SetMapLocation {
  LatLng latlng;
  SetMapLocation(LatLng latLng) {
    this.latlng = latLng;
  }
}

/// 通知顺风车更改当前进度
/// 1: 接到乘客出发
class SetHitchRichProgress {
  int state;
  SetHitchRichProgress(int state) {
    this.state = state;
  }
}

/// 接送机
class PickupPayType {
  int state;
  PickupPayType(int state) {
    this.state = state;
  }
}

/// 首页获取进行中的快车
class SetDispatchOrderList {}
